Gets the property with the given name.

Namespace: Keystone.Carbonite
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)

public void SetProperty<TProperty>( 
string name
TProperty value 
)
This language is not supported or no code example is available.

Type Parameters

TProperty

The property type.

Parameters

name

Type: string

The property name.

value

Type: TProperty

The property new value.

Exception type Condition

ArgumentException

If a property with the given name is not a member of the current entity.

InvalidOperationException

If a property with the given name is read only.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono